#numpy数组的标量计算，直接运算到数组每个元素
import numpy as np
A = np.random.randint(2,10,(2,3))
print("A:\n",A)
print('------------')
print(A**2)
print('------------')
print(1/A)
print('------------')
print(A*3)